package com.ssm.mapper;

import com.ssm.pojo.Business;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BusinessMapper {
    /**
     * 商家登录
     */
    Business login(@Param("username") String username, @Param("password") String password);

    /**
     * 条件查询商家数据
     */
    List<Business> getBusiness(String businessName);
}
